layui.use(['element', 'layer', 'util'], function() {
    var form = layui.form
        , layer = layui.layer
        , util = layui.util
        , $ = layui.$;

    $("button").bind("click",function () {
        var url ="../admin/secret";
        $.post(url,function (data) {
            debugger;
            $("input[type='text']").val(data);
        });
    });
});